import os
import openai

os.environ["OPENAI_API_KEY"]=os.environ["OPENAI_API_KEY_ZHIHU"]
os.environ["OPENAI_API_BASE"]=os.environ["OPENAI_API_BASE_ZHIHU"]

from langchain.llms import OpenAI
openai.api_key = os.environ["OPENAI_API_KEY"]
llm = OpenAI(temperature=0.9)
text = "How to study AI"
print(llm(text))